﻿using ToyChat.Server;

namespace ToyChat
{
    /// <summary>
    /// Third party modules should derrive from this interface if they wish access to the packet queue on <see cref="IServer"/>
    /// </summary>
    public interface IServerModule : IModule
    {
        /// <summary>
        /// This method is called by the server once it has received an instance of the implementor
        /// </summary>
        /// <param name="component">The component that owns this handler</param>
        void Initialize(IServer component);
    }
}